package com.jiujichina.job;/**
 * Created by liyi on 2018/5/26.
 */

import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * @author : liyi
 * @program : springboot-quartz
 * @description : firstjob
 * @create: 2018-05-26 18-11
 **/
@Component
@EnableScheduling
public class FirstJob{

    public void task(){
        System.out.println("任务1执行....");
    }
}
